Auto merge of #3770 - jbendig:issue_3762, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 27 Feb 2017 22:04:26 +0000 (22:04 +0000)
committerbors <bors@rust-lang.org>
Mon, 27 Feb 2017 22:04:26 +0000 (22:04 +0000)
Fixes #3762

Fixes issue #3762. `cargo test` and `cargo bench` should no longer compile binaries with required features that have not been selected.


Trivial merge